package com.ruoyi.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网站用户 对象 web_user_base
 * 
 * @author derek
 * @date 2021-04-17
 */
public class WebUserBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 帐号 */
    @Excel(name = "帐号")
    private String account;

    /** 密码 */
    @Excel(name = "密码")
    private String userpass;

    /** 手机号 */
    @Excel(name = "手机号")
    private Long userphone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String usermail;

    /** 最后一次访问IP */
    @Excel(name = "最后一次访问IP")
    private String userip;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Long createdtime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Long updatedtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setUserpass(String userpass) 
    {
        this.userpass = userpass;
    }

    public String getUserpass() 
    {
        return userpass;
    }
    public void setUserphone(Long userphone) 
    {
        this.userphone = userphone;
    }

    public Long getUserphone() 
    {
        return userphone;
    }
    public void setUsermail(String usermail) 
    {
        this.usermail = usermail;
    }

    public String getUsermail() 
    {
        return usermail;
    }
    public void setUserip(String userip) 
    {
        this.userip = userip;
    }

    public String getUserip() 
    {
        return userip;
    }
    public void setCreatedtime(Long createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Long getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedtime(Long updatedtime)
    {
        this.updatedtime = updatedtime;
    }

    public Long getUpdatedtime()
    {
        return updatedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("account", getAccount())
            .append("userpass", getUserpass())
            .append("userphone", getUserphone())
            .append("usermail", getUsermail())
            .append("userip", getUserip())
            .append("createdtime", getCreatedtime())
            .append("updatedtime", getUpdatedtime())
            .toString();
    }
}
